The Simple Harmonic Oscillator
As previously mentioned, in almost all of physics, we encounter a phenomenon called simple harmonic motion. In everyday life, we see simple harmonic motion in many systems, from the motion of a pendulum to the vibrations of a guitar string. On an atomic scale, simple harmonic motion is found in the vibrations of atoms and molecules, and on a cosmic scale, it is found in the oscillations of stars and galaxies. So it really is everywhere.
Table of Contents
A Spring and a Mass
To introduce simple harmonic motion (which we will abbreviate as SHM), we will use a simple system consisting of a spring and a mass.
In principle, this system is very simple: a mass
If we use
where
Recall from Newton's second law that the force is equal to the mass times the acceleration:
And that the acceleration is the second derivative of the position with respect to time:
We have a second derivative of the position, and hence, this is a second-order ordinary differential equation (ODE). This is the differential equation that describes the motion of a mass-spring system, and it is the starting point for our exploration of simple harmonic motion.
A Simple Pendulum
Another system that exhibits simple harmonic motion is a simple pendulum.
A simple pendulum consists of a mass
If we use
The torque is equal to the moment of inertia times the angular acceleration:
Since the moment of inertia of a single point mass is just
Dividing by
This is the differential equation that describes the motion of a simple pendulum, and it is also a second-order ODE.
This ODE is very difficult to solve analytically, involving elliptic integrals, so we will explore it in more detail in a future post.
For now, at small angles (
This is the differential equation that describes the motion of a simple pendulum in the small angle approximation, and it is equivalent to the differential equation for a mass-spring system.
Comparing the Two Systems
Put side by side, the differential equations for the mass-spring system and the simple pendulum are:
The terms
This is known as the equation of a simple harmonic oscillator (SHO).
Qualitative Analysis
Before we dive into solving this differential equation, let's take a moment to understand what it means.
The differential equation
This means that when a mass is displaced from its equilibrium position, the spring exerts a force on it that tries to restore it to the equilibrium position. Then, as the mass moves back towards the equilibrium position, it overshoots and moves past it to the other side. This repeats, causing the mass to oscillate back and forth around the equilibrium position.
The same applies to the pendulum; when it is displaced from the vertical, gravity exerts a torque on it that tries to restore it to the vertical. The only difference is that instead of the spring force being the restoring force, it is the gravitational force.
The table below summarizes the behavior of the mass at different points in its motion:
Displacement | Velocity | Acceleration | Spring/Pendulum |
---|---|---|---|
Zero | Maximum | Zero | Equilibrium |
Maximum | Zero | Minimum | One end |
Zero | Minimum | Zero | Equilibrium |
Minimum | Zero | Maximum | The other end |
(Take a moment to internalize this behavior and think about (1) why it makes sense and (2) how it relates to the differential equation
Sinusoidal Functions
As one could've guessed, SHM is related to sinusoidal functions, so we can expect the solution to the differential equation to be a sinusoidal function of time.
To prepare for the mathematical analysis, let's first review the properties of sinusoidal functions.
Take a function
-
is the amplitude of the oscillation, which is the maximum displacement from the equilibrium position. -
is the frequency of the oscillation, which is the number of oscillations per unit time. -
is the angular frequency of the oscillation, which is the rate at which the object oscillates back and forth.The difference between the frequency and the angular frequency is that the angular frequency is in radians per unit time, while the frequency is in cycles per unit time. In one cycle, the object goes through
radians, so the angular frequency is related to the frequency by . -
is the phase shift of the oscillation, which is the initial angle of the object at . It determines the starting point of the oscillation. -
is the period of the oscillation, which is the time it takes for the object to complete one full oscillation. The period is related to the frequency by , and to the angular frequency by .
Sinusoidal Function (zoomable)
Without a phase shift, the function
Both